﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KamRemakeRemake.GameObjects.UnitObjects.Units;

namespace KamRemakeRemake.GameObjects.UnitObjects.ActionObjects.Actions {
    public class Face : UnitAction {
        private Direction TargetDirection;

        public Face(Unit unit, Direction direction)
            : base(unit, ActionType.Face) {
            TargetDirection = direction;
        }

        public override void Execute() {
            Unit.Direction = TargetDirection;
        }
    }
}
